package 继承题1;

public class Refrigerator extends ElectricalAppliances{
    private String doorStyle;
    private String refrigerationWay;

    public Refrigerator() {
    }

    public Refrigerator(String brand, String model, String color, double price, String doorStyle, String refrigerationWay) {
        super(brand, model, color, price);
        this.doorStyle = doorStyle;
        this.refrigerationWay = refrigerationWay;
    }

    public String getDoorStyle() {
        return doorStyle;
    }

    public void setDoorStyle(String doorStyle) {
        this.doorStyle = doorStyle;
    }

    public String getRefrigerationWay() {
        return refrigerationWay;
    }

    public void setRefrigerationWay(String refrigerationWay) {
        this.refrigerationWay = refrigerationWay;
    }
}
